package com.voiceblog.model;

import java.util.Date;

/**
 * LeaveMessage entity.
 * 
 * @author MyEclipse Persistence Tools
 */

public class LeaveMessage implements java.io.Serializable {

	// Fields

	private Integer messageId;
	private Users users;
	private String leaveMsg;
	private Date leaveDate;
	private String author;

	// Constructors

	/** default constructor */
	public LeaveMessage() {
	}

	/** full constructor */
	public LeaveMessage(Users users, String leaveMsg, Date leaveDate,
			String author) {
		this.users = users;
		this.leaveMsg = leaveMsg;
		this.leaveDate = leaveDate;
		this.author = author;
	}

	// Property accessors

	public Integer getMessageId() {
		return this.messageId;
	}

	public void setMessageId(Integer messageId) {
		this.messageId = messageId;
	}

	public Users getUsers() {
		return this.users;
	}

	public void setUsers(Users users) {
		this.users = users;
	}

	public String getLeaveMsg() {
		return this.leaveMsg;
	}

	public void setLeaveMsg(String leaveMsg) {
		this.leaveMsg = leaveMsg;
	}

	public Date getLeaveDate() {
		return this.leaveDate;
	}

	public void setLeaveDate(Date leaveDate) {
		this.leaveDate = leaveDate;
	}

	public String getAuthor() {
		return this.author;
	}

	public void setAuthor(String author) {
		this.author = author;
	}

}